﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Common.WordNodes
{
    /// <summary>
    /// 词汇树
    /// </summary>
    public class WordNode : Entity, ICreationAudited
    {
        public int? ParentId { get; set; }

        public string Tag { get; set; }

        /// <summary>
        /// 唯一名称
        /// </summary>
        public string Name { get; set; }

        public string DisplayName { get; set; }

        public string LinkAddress { get; set; }

        public string Icon { get; set; }

        public string Description { get; set; }

        public bool Enabled { get; set; }

        public bool IsDefault { get; set; }

        /// <summary>
        /// 如果为静态的，则创建后不能被删除
        /// </summary>
        public bool IsStatic { get; set; }

        public int Sort { get; set; }

        public bool OnlyMemberVisible { get; set; }
        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }

        public WordNode()
        {
        }
    }
}
